import axios from '@/http/index';
/* 所有系统信息 */
export function questionStatusCount() {
  return axios({
    url: '/monitor/questionCount/questionStatusCount',
    method: 'post'
  });
}
export function questionStatusList(option: string) {
  return axios({
    url: '/monitor/questionCount/questionStatusList',
    method: 'post',
    data: option
  });
}
export function imbizSkipDetailApi(option: string) {
  return axios({
    url: '/monitor/questionCount/imbizSkipDetail',
    method: 'post',
    data: option
  });
}


/* 运维事件单导出所有异常项 */
export function fmBizSummaryExport(option: string) {
  return axios({
    url: '/monitor/questionCount/exportGzhz',
    method: 'post',
    data: option
  });
}
/* 运维事件单导出各类所属系统汇总表--导出 */
export function fmBizBySysSummaryExport(option: string) {
  return axios({
    url: '/monitor/questionCount/exportGlSysList',
    method: 'post',
    data: option
  });
}


export function exportType(option: string) {
  return axios({
    url: '/monitor/questionCount/exportType',
    method: 'post',
    data: option
  });
}
export function questionListDetail(option: string) {
  return axios({
    url: '/monitor/questionCount/questionListDetail',
    method: 'post',
    data: option
  });
}
/* 导出文件 */
export function download(option: string) {
  return axios({
    url: '/monitor/count/download',
    method: 'get',
    params: option,
    responseType: 'blob'
  });
}
